<template name="tasksList">
    <header>
      <h1>Todo List ({{incompleteCount}})</h1>
	  
    <input id="getTimeBtn" type="button" value="getTime">

	  {{#if currentUser}}
	    <form class="new-task">
		  <input type="text" name="text" placeholder="Type to add new tasks" />
	    </form>
	  {{/if}}
    </header>

	<!-- add the checkbox to <body> right below the h1 -->
    <label class="hide-completed">
      <input type="checkbox" checked="{{hideCompleted}}" />
      Hide Completed Tasks
    </label>
    <!--<label class="all-user">
      <input type="checkbox" checked="{{allUser}}" />
      All Users Tasks
    </label>-->
    <div>{{totalCount}},{{curPage}}/{{pages}}</div>
    <ul>
      {{#each tasks}}
        {{> task}}
      {{/each}}
    </ul>
    home url is:  {{pathFor 'tasksList'}}
    <p>
      {{getStrByMd5 'a0000094c3093190fc9e669558b44efc'}}
    </p>
</template>
